package cn.thornbird.orgsync.model.dingtalk;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AuthInfo extends Response {

    @JsonProperty("orgName")
    private String orgName;

    @JsonProperty("licenseOrgName")
    private String licenseOrgName;

    @JsonProperty("registrationNum")
    private String registrationNum;

    @JsonProperty("unifiedSocialCredit")
    private String unifiedSocialCredit;

    @JsonProperty("organizationCode")
    private String organizationCode;

    @JsonProperty("legalPerson")
    private String legalPerson;

    @JsonProperty("licenseUrl")
    private String licenseUrl;

    /**
     * 认证等级: 1-高级认证, 2-中级认证
     */
    @JsonProperty("authLevel")
    private Long authLevel;

}
